/* 
 * File:   SimmilarityClustering.h
 * Author: Claudio
 *
 * Created on February 26, 2013, 2:13 AM
 */

#ifndef SIMMILARITYCLUSTERING_H
#define	SIMMILARITYCLUSTERING_H

#include <clusters.h>
#include <dbscan.h>

#include "Clustering.h"
#include "Event.h"
#include <HistogramComparison.h>

namespace AAM{
class SimmilarityClustering : public PhotoClustering{
public:
    SimmilarityClustering();
    SimmilarityClustering(const SimmilarityClustering& orig);
    virtual ~SimmilarityClustering();
    virtual vector<Event> doCluster(vector<Imagens*> &img);
    static bool compareImagens(Imagens* a, Imagens* b);
    void setHistogramComparison(HistogramComparison* hc){
        histComp = hc;
    }
    vector<Imagens*> eliminateDuplicatesAndSelectBetter(vector<Imagens*> img,int simThreshold);
private:
    HistogramComparison *histComp;

};
}
#endif	/* SIMMILARITYCLUSTERING_H */

